package com.hongsuan.pplive.modules.cms.entity;

import java.util.Date;

import com.cnjson.db.persistence.DataEntity;
import com.cnjson.common.config.Global;
import com.hongsuan.pplive.common.utils.excel.annotation.ExcelField;

/**
 * @author Susan.Su
 */
public class UserCourse extends DataEntity<UserCourse> {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String name;
    private String courseId;
    private String courseName;
    private String courseType;
    private Integer courseScore;
    private String courseLearned;
    private String userId;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	private Date examDate;
    private Date beginDate;	// 开始时间
    private Date endDate;	// 结束时间

    public UserCourse() {
        super();
        this.courseType = Global.SELECTED;
    }

    public UserCourse(String id){
        super(id);
        this.courseType = Global.SELECTED;
    }

    @ExcelField(title="学员ID", align=1, sort=1)
    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @ExcelField(title="课程ID", align=1, sort=2)
    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseType() {
        return courseType;
    }

    public void setCourseType(String courseType) {
        this.courseType = courseType;
    }

    @ExcelField(title="成绩", align=3, sort=3)
    public Integer getCourseScore() {
        return courseScore;
    }

    public void setCourseScore(Integer courseScore) {
        this.courseScore = courseScore;
    }

    @ExcelField(title="考试时间", align=1, sort=4)
    public Date getExamDate() {
        return examDate;
    }

    public void setExamDate(Date examDate) {
        this.examDate = examDate;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
    
    public String getCourseLearned() {
		return courseLearned;
	}

	public void setCourseLearned(String courseLearned) {
		this.courseLearned = courseLearned;
	}

}
